<!DOCTYPE html>
<html lang="zh-CN">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
  <title>我的评论</title>
  <!-- Bootstrap 5 CSS -->
  <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
  <!-- Font Awesome -->
  <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/font-awesome@4.7.0/css/font-awesome.min.css">
  
  <style>
    :root {
      --primary: #4F46E5;
      --secondary: #6B7280;
      --light: #F9FAFB;
      --dark: #1F2937;
      --white: #FFFFFF;
      --border: #E5E7EB;
      --shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
      --success: #10B981;
      --danger: #EF4444;
      --gray: #9CA3AF;
      
      /* 不同风格主题色 */
      --style1: #3B82F6; /* 科技蓝 */
      --style2: #EC4899; /* 活力粉 */
      --style3: #10B981; /* 生态绿 */
      --style4: #F59E0B; /* 温暖橙 */
      --style5: #8B5CF6; /* 梦幻紫 */
      --style6: #111827; /* 商务黑 */
    }
    
    body {
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
      background-color: #f5f5f5;
      color: var(--dark);
      min-height: 100vh;
      padding: 0;
      margin: 0;
      transition: background-color 0.3s ease;
    }
    
    .container {
      max-width: 420px;
      margin: 0 auto;
      background-color: var(--white);
      min-height: 100vh;
      box-shadow: var(--shadow);
      overflow: hidden;
      position: relative;
      transition: background-color 0.3s ease;
    }
    
    /* 主页面容器 */
    .comments-page {
      display: none;
      min-height: 100vh;
      flex-direction: column;
    }
    
    .comments-page.active {
      display: flex;
      animation: fadeIn 0.3s ease forwards;
    }
    
    /* 顶部导航栏 */
    .page-header {
      padding: 18px 20px;
      position: relative;
      text-align: center;
      border-bottom: 1px solid var(--border);
      background-color: var(--white);
      transition: all 0.3s ease;
      z-index: 10;
    }
    
    .page-title {
      font-size: 18px;
      font-weight: 600;
      margin: 0;
    }
    
    .header-actions {
      position: absolute;
      right: 20px;
      top: 50%;
      transform: translateY(-50%);
      display: flex;
      gap: 15px;
    }
    
    .header-btn {
      background: none;
      border: none;
      color: var(--dark);
      font-size: 20px;
      cursor: pointer;
      transition: all 0.2s ease;
    }
    
    .header-btn:active {
      transform: scale(0.9);
    }
    
    .back-btn {
      position: absolute;
      left: 20px;
      top: 50%;
      transform: translateY(-50%);
      background: none;
      border: none;
      color: var(--dark);
      font-size: 20px;
      cursor: pointer;
      transition: all 0.2s ease;
    }
    
    .back-btn:active {
      transform: translateY(-50%) scale(0.9);
    }
    
    /* 搜索栏 */
    .search-bar {
      padding: 12px 20px;
      background-color: var(--light);
      border-bottom: 1px solid var(--border);
    }
    
    .search-input {
      width: 100%;
      padding: 10px 15px 10px 40px;
      border-radius: 8px;
      border: 1px solid var(--border);
      background-color: var(--white);
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%239CA3AF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'%3E%3C/line%3E%3C/svg%3E");
      background-repeat: no-repeat;
      background-position: 15px center;
      font-size: 14px;
      transition: all 0.2s ease;
    }
    
    .search-input:focus {
      outline: none;
      border-color: var(--primary);
      box-shadow: 0 0 0 2px rgba(79, 70, 229, 0.1);
    }
    
    /* 评论列表 */
    .comments-list {
      flex-grow: 1;
      overflow-y: auto;
      background-color: var(--white);
    }
    
    .comment-item {
      padding: 15px 20px;
      border-bottom: 1px solid var(--border);
      transition: background-color 0.2s ease;
    }
    
    .comment-item:hover {
      background-color: var(--light);
    }
    
    .comment-header {
      display: flex;
      align-items: center;
      margin-bottom: 10px;
    }
    
    .comment-avatar {
      width: 36px;
      height: 36px;
      border-radius: 50%;
      object-fit: cover;
      margin-right: 12px;
    }
    
    .comment-author {
      font-weight: 500;
      font-size: 15px;
      margin: 0;
    }
    
    .comment-time {
      font-size: 12px;
      color: var(--secondary);
      margin: 0;
    }
    
    .comment-content {
      font-size: 14px;
      line-height: 1.5;
      margin-bottom: 10px;
    }
    
    .comment-target {
      padding: 10px 12px;
      background-color: var(--light);
      border-radius: 6px;
      font-size: 13px;
      color: var(--secondary);
      margin-bottom: 10px;
    }
    
    .comment-actions {
      display: flex;
      gap: 15px;
      font-size: 13px;
      color: var(--secondary);
    }
    
    .comment-action {
      display: flex;
      align-items: center;
      gap: 5px;
      cursor: pointer;
      transition: color 0.2s ease;
    }
    
    .comment-action:hover {
      color: var(--primary);
    }
    
    .comment-action.liked {
      color: var(--danger);
    }
    
    /* 空状态 */
    .empty-state {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      padding: 60px 20px;
      color: var(--secondary);
      text-align: center;
      flex-grow: 1;
    }
    
    .empty-icon {
      font-size: 48px;
      margin-bottom: 20px;
      opacity: 0.5;
    }
    
    .empty-text {
      font-size: 16px;
      margin-bottom: 10px;
    }
    
    .empty-subtext {
      font-size: 14px;
      opacity: 0.8;
      max-width: 240px;
    }
    
    /* 样式切换器 */
    .style-switcher {
      position: fixed;
      top: 20px;
      right: 20px;
      z-index: 1010;
      background-color: white;
      border-radius: 8px;
      box-shadow: var(--shadow);
      overflow: hidden;
      width: 180px;
      transition: all 0.3s ease;
      transform: translateX(0);
      opacity: 1;
    }
    
    .style-switcher.hidden {
      transform: translateX(200px);
      opacity: 0;
      pointer-events: none;
    }
    
    .switcher-toggle {
      position: fixed;
      top: 20px;
      right: 20px;
      z-index: 1020;
      width: 40px;
      height: 40px;
      border-radius: 50%;
      background-color: var(--primary);
      color: white;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: var(--shadow);
      border: none;
      font-size: 18px;
      cursor: pointer;
      transition: all 0.3s ease;
    }
    
    .switcher-header {
      padding: 10px 16px;
      font-size: 14px;
      font-weight: 600;
      border-bottom: 1px solid #eee;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    
    .switcher-close {
      background: none;
      border: none;
      color: var(--secondary);
      font-size: 16px;
      cursor: pointer;
    }
    
    .switcher-option {
      padding: 12px 16px;
      font-size: 14px;
      cursor: pointer;
      transition: background-color 0.2s;
      display: flex;
      align-items: center;
    }
    
    .switcher-color {
      width: 12px;
      height: 12px;
      border-radius: 50%;
      margin-right: 10px;
    }
    
    .switcher-option:hover {
      background-color: #f9f9f9;
    }
    
    .switcher-option.active {
      background-color: var(--primary);
      color: white;
    }
    
    /* 风格1：科技蓝 */
    .style-1 {
      --primary: var(--style1);
    }
    
    /* 风格2：活力粉 */
    .style-2 {
      --primary: var(--style2);
    }
    
    .style-2 .page-header {
      background-color: var(--primary);
      color: white;
      border-bottom: none;
    }
    
    .style-2 .header-btn,
    .style-2 .back-btn {
      color: white;
    }
    
    .style-2 .comment-item {
      border-radius: 12px;
      margin: 10px;
      border-bottom: none;
      box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    }
    
    .style-2 .comments-list {
      background-color: #FAFAFA;
      padding-top: 5px;
    }
    
    /* 风格3：生态绿 */
    .style-3 {
      --primary: var(--style3);
    }
    
    .style-3 .container {
      background-color: #F8FAFC;
    }
    
    .style-3 .comment-item {
      background-color: white;
      margin: 5px 10px;
      border-radius: 8px;
      border-bottom: none;
    }
    
    .style-3 .search-input {
      background-color: white;
      border-color: rgba(16, 185, 129, 0.2);
    }
    
    /* 风格4：温暖橙 */
    .style-4 {
      --primary: var(--style4);
    }
    
    .style-4 .page-title {
      color: var(--primary);
      font-weight: 700;
    }
    
    .style-4 .comment-author {
      color: var(--primary);
    }
    
    .style-4 .comment-actions {
      font-weight: 500;
    }
    
    /* 风格5：梦幻紫 */
    .style-5 {
      --primary: var(--style5);
    }
    
    .style-5 .container {
      background-color: #FCFAFF;
    }
    
    .style-5 .comment-target {
      background-color: rgba(139, 92, 246, 0.05);
      border-left: 3px solid var(--primary);
    }
    
    .style-5 .comment-item {
      border-bottom: 1px solid rgba(139, 92, 246, 0.1);
    }
    
    /* 风格6：商务黑 */
    .style-6 {
      --primary: #60A5FA;
      --secondary: #9CA3AF;
      --light: #1F2937;
      --dark: #F9FAFB;
      --white: #111827;
      --border: #374151;
      --shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    }
    
    .style-6 body {
      background-color: #030712;
    }
    
    .style-6 .container {
      background-color: var(--white);
    }
    
    .style-6 .page-header {
      background-color: var(--light);
      border-bottom-color: var(--border);
    }
    
    .style-6 .header-btn,
    .style-6 .back-btn,
    .style-6 .page-title {
      color: var(--dark);
    }
    
    .style-6 .search-bar {
      background-color: var(--light);
    }
    
    .style-6 .search-input {
      background-color: var(--white);
      border-color: var(--border);
      color: var(--dark);
    }
    
    .style-6 .comments-list {
      background-color: var(--white);
    }
    
    .style-6 .comment-item {
      border-bottom-color: var(--border);
    }
    
    .style-6 .comment-item:hover {
      background-color: rgba(255, 255, 255, 0.05);
    }
    
    .style-6 .comment-target {
      background-color: var(--light);
    }
    
    .style-6 .style-switcher {
      background-color: var(--light);
    }
    
    .style-6 .switcher-header {
      border-bottom-color: var(--border);
      color: var(--dark);
    }
    
    .style-6 .switcher-option {
      color: var(--dark);
    }
    
    .style-6 .switcher-option:hover {
      background-color: rgba(255, 255, 255, 0.1);
    }
    
    /* 动画效果 */
    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(10px); }
      to { opacity: 1; transform: translateY(0); }
    }
    
    /* 响应式调整 */
    @media (max-width: 360px) {
      .comment-actions {
        gap: 10px;
        font-size: 12px;
      }
    }
  </style>
</head>
<body class="style-1">
  <!-- 样式切换器 -->
  <button class="switcher-toggle">
    <i class="fa fa-paint-brush"></i>
  </button>
  
  <div class="style-switcher hidden">
    <div class="switcher-header">
      选择页面样式
      <button class="switcher-close"><i class="fa fa-times"></i></button>
    </div>
    <div class="switcher-option active" data-style="1">
      <span class="switcher-color" style="background-color: var(--style1);"></span>
      科技蓝
    </div>
    <div class="switcher-option" data-style="2">
      <span class="switcher-color" style="background-color: var(--style2);"></span>
      活力粉
    </div>
    <div class="switcher-option" data-style="3">
      <span class="switcher-color" style="background-color: var(--style3);"></span>
      生态绿
    </div>
    <div class="switcher-option" data-style="4">
      <span class="switcher-color" style="background-color: var(--style4);"></span>
      温暖橙
    </div>
    <div class="switcher-option" data-style="5">
      <span class="switcher-color" style="background-color: var(--style5);"></span>
      梦幻紫
    </div>
    <div class="switcher-option" data-style="6">
      <span class="switcher-color" style="background-color: var(--style6);"></span>
      商务黑
    </div>
  </div>
  
  <div class="container">
    <!-- 风格1：科技蓝 -->
    <div class="comments-page active" id="page1">
      <div class="page-header">
        <button class="back-btn" id="back1"><i class="fa fa-chevron"></i></button>
        <h1 class="page-title">我的评论</h1>
        <div class="header-actions">
          <button class="header-btn" id="filter1"><i class="fa fa-filter"></i></button>
        </div>
      </div>
      
      <div class="search-bar">
        <input type="text" class="search-input" placeholder="搜索评论内容...">
      </div>
      
      <div class="comments-list">
        <div class="comment-item">
          <div class="comment-header">
            <img src="https://picsum.photos/id/64/100/100" alt="用户头像" class="comment-avatar">
            <div>
              <p class="comment-author">张明哲</p>
              <p class="comment-time">今天 09:42</p>
            </div>
          </div>
          <p class="comment-content">这个想法很棒！我之前也遇到过类似的问题，后来通过调整参数解决了，你可以试试减少30%的强度看看效果。</p>
          <div class="comment-target">
            <strong>回复了 李华 的动态：</strong>分享一个新的摄影技巧，关于如何在低光环境下拍出清晰的照片...
          </div>
          <div class="comment-actions">
            <div class="comment-action like1"><i class="fa fa-heart-o"></i> 12</div>
            <div class="comment-action reply1"><i class="fa fa-reply"></i> 回复</div>
            <div class="comment-action edit1"><i class="fa fa-edit"></i> 编辑</div>
          </div>
        </div>
        
        <div class="comment-item">
          <div class="comment-header">
            <img src="https://picsum.photos/id/64/100/100" alt="用户头像" class="comment-avatar">
            <div>
              <p class="comment-author">张明哲</p>
              <p class="comment-time">昨天 15:30</p>
            </div>
          </div>
          <p class="comment-content">我去过这家餐厅，他们的招牌牛排确实很不错，推荐五分熟的，口感最好！</p>
          <div class="comment-target">
            <strong>回复了 王美食家 的动态：</strong>市中心新开的西餐厅探店，环境很优雅，食物也很精致...
          </div>
          <div class="comment-actions">
            <div class="comment-action like1 liked"><i class="fa fa-heart"></i> 36</div>
            <div class="comment-action reply1"><i class="fa fa-reply"></i> 回复</div>
            <div class="comment-action edit1"><i class="fa fa-edit"></i> 编辑</div>
          </div>
        </div>
        
        <div class="comment-item">
          <div class="comment-header">
            <img src="https://picsum.photos/id/64/100/100" alt="用户头像" class="comment-avatar">
            <div>
              <p class="comment-author">张明哲</p>
              <p class="comment-time">3天前</p>
            </div>
          </div>
          <p class="comment-content">赞同你的观点，现在的设计确实越来越注重用户体验了，功能性和美观性的平衡很重要。</p>
          <div class="comment-target">
            <strong>回复了 设计之道 的动态：</strong>分析2023年UI设计趋势，极简主义和功能性的结合成为主流...
          </div>
          <div class="comment-actions">
            <div class="comment-action like1"><i class="fa fa-heart-o"></i> 8</div>
            <div class="comment-action reply1"><i class="fa fa-reply"></i> 回复</div>
            <div class="comment-action edit1"><i class="fa fa-edit"></i> 编辑</div>
          </div>
        </div>
      </div>
    </div>
    
    <!-- 风格2：活力粉 -->
    <div class="comments-page" id="page2">
      <div class="page-header">
        <button class="back-btn" id="back2"><i class="fa fa-chevron-left"></i></button>
        <h1 class="page-title">我的评论</h1>
        <div class="header-actions">
          <button class="header-btn" id="filter2"><i class="fa fa-filter"></i></button>
        </div>
      </div>
      
      <div class="search-bar">
        <input type="text" class="search-input" placeholder="搜索评论内容...">
      </div>
      
      <div class="comments-list">
        <div class="comment-item">
          <div class="comment-header">
            <img src="https://picsum.photos/id/26/100/100" alt="用户头像" class="comment-avatar">
            <div>
              <p class="comment-author">李梦琪</p>
              <p class="comment-time">今天 11:23</p>
            </div>
          </div>
          <p class="comment-content">这件连衣裙的颜色太适合夏天了！请问在哪里可以买到呀？</p>
          <div class="comment-target">
            <strong>回复了 时尚前线 的动态：</strong>夏季新款连衣裙推荐，这几款真的太仙了...
          </div>
          <div class="comment-actions">
            <div class="comment-action like2"><i class="fa fa-heart-o"></i> 24</div>
            <div class="comment-action reply2"><i class="fa fa-reply"></i> 回复</div>
            <div class="comment-action edit2"><i class="fa fa-edit"></i> 编辑</div>
          </div>
        </div>
        
        <div class="comment-item">
          <div class="comment-header">
            <img src="https://picsum.photos/id/26/100/100" alt="用户头像" class="comment-avatar">
            <div>
              <p class="comment-author">李梦琪</p>
              <p class="comment-time">昨天 18:45</p>
            </div>
          </div>
          <p class="comment-content">巴厘岛的日落真的太美了，我去年去的时候住的ayana度假村，视野超级好！</p>
          <div class="comment-target">
            <strong>回复了 旅行日记 的动态：</strong>分享巴厘岛的绝美日落，大自然的调色盘太惊艳了...
          </div>
          <div class="comment-actions">
            <div class="comment-action like2 liked"><i class="fa fa-heart"></i> 56</div>
            <div class="comment-action reply2"><i class="fa fa-reply"></i> 回复</div>
            <div class="comment-action edit2"><i class="fa fa-edit"></i> 编辑</div>
          </div>
        </div>
      </div>
    </div>
    
    <!-- 风格3：生态绿 -->
    <div class="comments-page" id="page3">
      <div class="page-header">
        <button class="back-btn" id="back3"><i class="fa fa-chevron-left"></i></button>
        <h1 class="page-title">我的评论</h1>
        <div class="header-actions">
          <button class="header-btn" id="filter3"><i class="fa fa-filter"></i></button>
        </div>
      </div>
      
      <div class="search-bar">
        <input type="text" class="search-input" placeholder="搜索评论内容...">
      </div>
      
      <div class="comments-list">
        <div class="comment-item">
          <div class="comment-header">
            <img src="https://picsum.photos/id/91/100/100" alt="用户头像" class="comment-avatar">
            <div>
              <p class="comment-author">王建国</p>
              <p class="comment-time">今天 08:15</p>
            </div>
          </div>
          <p class="comment-content">这种植物其实很适合室内种植，只需要每周浇一次水，放在散射光处就可以了，很容易养护。</p>
          <div class="comment-target">
            <strong>回复了 绿植控 的动态：</strong>新买的室内植物，不知道怎么养护，有大神指导一下吗？...
          </div>
          <div class="comment-actions">
            <div class="comment-action like3"><i class="fa fa-heart-o"></i> 19</div>
            <div class="comment-action reply3"><i class="fa fa-reply"></i> 回复</div>
            <div class="comment-action edit3"><i class="fa fa-edit"></i> 编辑</div>
          </div>
        </div>
        
        <div class="comment-item">
          <div class="comment-header">
            <img src="https://picsum.photos/id/91/100/100" alt="用户头像" class="comment-avatar">
            <div>
              <p class="comment-author">王建国</p>
              <p class="comment-time">3天前</p>
            </div>
          </div>
          <p class="comment-content">这个保护区我去年去过，那里的生态环境保护得非常好，能看到很多珍稀鸟类，建议早上去观察。</p>
          <div class="comment-target">
            <strong>回复了 自然保护者 的动态：</strong>探访国家自然保护区，感受大自然的魅力...
          </div>
          <div class="comment-actions">
            <div class="comment-action like3"><i class="fa fa-heart-o"></i> 31</div>
            <div class="comment-action reply3"><i class="fa fa-reply"></i> 回复</div>
            <div class="comment-action edit3"><i class="fa fa-edit"></i> 编辑</div>
          </div>
        </div>
      </div>
    </div>
    
    <!-- 风格4：温暖橙 -->
    <div class="comments-page" id="page4">
      <div class="page-header">
        <button class="back-btn" id="back4"><i class="fa fa-chevron-left"></i></button>
        <h1 class="page-title">我的评论</h1>
        <div class="header-actions">
          <button class="header-btn" id="filter4"><i class="fa fa-filter"></i></button>
        </div>
      </div>
      
      <div class="search-bar">
        <input type="text" class="search-input" placeholder="搜索评论内容...">
      </div>
      
      <div class="comments-list">
        <div class="comment-item">
          <div class="comment-header">
            <img src="https://picsum.photos/id/42/100/100" alt="用户头像" class="comment-avatar">
            <div>
              <p class="comment-author">赵小厨</p>
              <p class="comment-time">今天 12:30</p>
            </div>
          </div>
          <p class="comment-content">做红烧肉的时候，一定要用冰糖炒糖色，这样成品才会红亮诱人，而且要先焯水去血沫，口感才好。</p>
          <div class="comment-target">
            <strong>回复了 美食分享家 的动态：</strong>第一次做红烧肉，看起来颜色不够红亮，哪里出问题了？...
          </div>
          <div class="comment-actions">
            <div class="comment-action like4 liked"><i class="fa fa-heart"></i> 78</div>
            <div class="comment-action reply4"><i class="fa fa-reply"></i> 回复</div>
            <div class="comment-action edit4"><i class="fa fa-edit"></i> 编辑</div>
          </div>
        </div>
        
        <div class="comment-item">
          <div class="comment-header">
            <img src="https://picsum.photos/id/42/100/100" alt="用户头像" class="comment-avatar">
            <div>
              <p class="comment-author">赵小厨</p>
              <p class="comment-time">昨天 19:20</p>
            </div>
          </div>
          <p class="comment-content">这个蛋糕配方看起来很不错，不过我建议把黄油换成橄榄油，更健康一些，口感也很特别。</p>
          <div class="comment-target">
            <strong>回复了 甜点师 的动态：</strong>分享一款超好吃的巧克力蛋糕配方，松软可口...
          </div>
          <div class="comment-actions">
            <div class="comment-action like4"><i class="fa fa-heart-o"></i> 29</div>
            <div class="comment-action reply4"><i class="fa fa-reply"></i> 回复</div>
            <div class="comment-action edit4"><i class="fa fa-edit"></i> 编辑</div>
          </div>
        </div>
      </div>
    </div>
    
    <!-- 风格5：梦幻紫 -->
    <div class="comments-page" id="page5">
      <div class="page-header">
        <button class="back-btn" id="back5"><i class="fa fa-chevron-left"></i></button>
        <h1 class="page-title">我的评论</h1>
        <div class="header-actions">
          <button class="header-btn" id="filter5"><i class="fa fa-filter"></i></button>
        </div>
      </div>
      
      <div class="search-bar">
        <input type="text" class="search-input" placeholder="搜索评论内容...">
      </div>
      
      <div class="comments-list">
        <div class="comment-item">
          <div class="comment-header">
            <img src="https://picsum.photos/id/65/100/100" alt="用户头像" class="comment-avatar">
            <div>
              <p class="comment-author">吴艺琳</p>
              <p class="comment-time">今天 10:15</p>
            </div>
          </div>
          <p class="comment-content">这个插画风格好可爱！请问你用的是什么软件绘制的？我也想尝试一下这种风格。</p>
          <div class="comment-target">
            <strong>回复了 插画师小明 的动态：</strong>新完成的一组儿童插画，希望大家喜欢...
          </div>
          <div class="comment-actions">
            <div class="comment-action like5"><i class="fa fa-heart-o"></i> 42</div>
            <div class="comment-action reply5"><i class="fa fa-reply"></i> 回复</div>
            <div class="comment-action edit5"><i class="fa fa-edit"></i> 编辑</div>
          </div>
        </div>
        
        <div class="comment-item">
          <div class="comment-header">
            <img src="https://picsum.photos/id/65/100/100" alt="用户头像" class="comment-avatar">
            <div>
              <p class="comment-author">吴艺琳</p>
              <p class="comment-time">3天前</p>
            </div>
          </div>
          <p class="comment-content">色彩搭配很和谐，特别是紫色和粉色的渐变过渡很自然，学习了！</p>
          <div class="comment-target">
            <strong>回复了 设计师阿杰 的动态：</strong>最新的品牌设计方案，分享一下配色思路...
          </div>
          <div class="comment-actions">
            <div class="comment-action like5 liked"><i class="fa fa-heart"></i> 37</div>
            <div class="comment-action reply5"><i class="fa fa-reply"></i> 回复</div>
            <div class="comment-action edit5"><i class="fa fa-edit"></i> 编辑</div>
          </div>
        </div>
      </div>
    </div>
    
    <!-- 风格6：商务黑 -->
    <div class="comments-page" id="page6">
      <div class="page-header">
        <button class="back-btn" id="back6"><i class="fa fa-chevron-left"></i></button>
        <h1 class="page-title">我的评论</h1>
        <div class="header-actions">
          <button class="header-btn" id="filter6"><i class="fa fa-filter"></i></button>
        </div>
      </div>
      
      <div class="search-bar">
        <input type="text" class="search-input" placeholder="搜索评论内容...">
      </div>
      
      <div class="comments-list">
        <div class="comment-item">
          <div class="comment-header">
            <img src="https://picsum.photos/id/177/100/100" alt="用户头像" class="comment-avatar">
            <div>
              <p class="comment-author">张总</p>
              <p class="comment-time">今天 09:05</p>
            </div>
          </div>
          <p class="comment-content">根据我们公司的经验，这个市场策略在二三线城市的效果会更好，用户转化率比一线城市高出约15%。</p>
          <div class="comment-target">
            <strong>回复了 营销专家 的动态：</strong>分析最新的市场拓展策略，如何有效提升品牌影响力...
          </div>
          <div class="comment-actions">
            <div class="comment-action like6"><i class="fa fa-heart-o"></i> 53</div>
            <div class="comment-action reply6"><i class="fa fa-reply"></i> 回复</div>
            <div class="comment-action edit6"><i class="fa fa-edit"></i> 编辑</div>
          </div>
        </div>
        
        <div class="comment-item">
          <div class="comment-header">
            <img src="https://picsum.photos/id/177/100/100" alt="用户头像" class="comment-avatar">
            <div>
              <p class="comment-author">张总</p>
              <p class="comment-time">昨天 14:20</p>
            </div>
          </div>
          <p class="comment-content">这个投资方向值得关注，但需要注意政策风险，建议先进行小规模试点，再逐步扩大投入。</p>
          <div class="comment-target">
            <strong>回复了 投资顾问 的动态：</strong>2023年最具潜力的几个投资领域分析...
          </div>
          <div class="comment-actions">
            <div class="comment-action like6 liked"><i class="fa fa-heart"></i> 89</div>
            <div class="comment-action reply6"><i class="fa fa-reply"></i> 回复</div>
            <div class="comment-action edit6"><i class="fa fa-edit"></i> 编辑</div>
          </div>
        </div>
      </div>
    </div>
  </div>
  
  <!-- Bootstrap JS -->
  <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>
  
  <script>
    // 当前状态
    let currentStyle = 1;
    
    // DOM元素
    const switcherToggle = document.querySelector('.switcher-toggle');
    const switcher = document.querySelector('.style-switcher');
    const switcherClose = document.querySelector('.switcher-close');
    const switcherOptions = document.querySelectorAll('.switcher-option');
    const commentsPages = {
      1: document.getElementById('page1'),
      2: document.getElementById('page2'),
      3: document.getElementById('page3'),
      4: document.getElementById('page4'),
      5: document.getElementById('page5'),
      6: document.getElementById('page6')
    };
    const bodyElement = document.body;
    
    // 初始化
    function init() {
      // 切换器控制
      switcherToggle.addEventListener('click', toggleSwitcher);
      switcherClose.addEventListener('click', toggleSwitcher);
      
      // 切换样式
      switcherOptions.forEach(option => {
        option.addEventListener('click', function() {
          const style = parseInt(this.getAttribute('data-style'));
          switchStyle(style);
          toggleSwitcher();
        });
      });
      
      // 初始化所有页面的交互
      initPageInteractions();
    }
    
    // 初始化页面交互
    function initPageInteractions() {
      // 为每个页面初始化交互
      for (let i = 1; i <= 6; i++) {
        // 返回按钮
        const backBtn = document.getElementById(`back${i}`);
        backBtn.addEventListener('click', function() {
          alert('返回上一页');
        });
        
        // 筛选按钮
        const filterBtn = document.getElementById(`filter${i}`);
        filterBtn.addEventListener('click', function() {
          alert('筛选评论');
        });
        
        // 评论点赞功能
        const likeButtons = document.querySelectorAll(`.like${i}`);
        likeButtons.forEach(btn => {
          btn.addEventListener('click', function() {
            const isLiked = this.classList.contains('liked');
            const countElem = this.childNodes[2];
            let count = parseInt(countElem.textContent.trim());
            
            if (isLiked) {
              this.classList.remove('liked');
              this.innerHTML = '<i class="fa fa-heart-o"></i> ' + (count - 1);
            } else {
              this.classList.add('liked');
              this.innerHTML = '<i class="fa fa-heart"></i> ' + (count + 1);
            }
          });
        });
        
        // 回复按钮
        const replyButtons = document.querySelectorAll(`.reply${i}`);
        replyButtons.forEach(btn => {
          btn.addEventListener('click', function() {
            alert('回复评论');
          });
        });
        
        // 编辑按钮
        const editButtons = document.querySelectorAll(`.edit${i}`);
        editButtons.forEach(btn => {
          btn.addEventListener('click', function() {
            alert('编辑评论');
          });
        });
      }
    }
    
    // 切换样式选择器显示/隐藏
    function toggleSwitcher() {
      switcher.classList.toggle('hidden');
    }
    
    // 关闭所有页面
    function closeAllPages() {
      Object.values(commentsPages).forEach(page => {
        page.classList.remove('active');
      });
    }
    
    // 切换样式
    function switchStyle(style) {
      // 移除所有样式类
      bodyElement.classList.remove('style-1', 'style-2', 'style-3', 'style-4', 'style-5', 'style-6');
      
      // 添加当前样式类
      bodyElement.classList.add(`style-${style}`);
      
      // 更新当前样式
      currentStyle = style;
      
      // 更新切换器选中状态
      switcherOptions.forEach(option => {
        option.classList.remove('active');
        if (parseInt(option.getAttribute('data-style')) === style) {
          option.classList.add('active');
        }
      });
      
      // 显示对应页面
      closeAllPages();
      commentsPages[style].classList.add('active');
    }
    
    // 键盘导航
    document.addEventListener('keydown', function(e) {
      if (e.key === 'ArrowLeft') {
        let prev = currentStyle - 1;
        if (prev < 1) prev = 6;
        switchStyle(prev);
      } else if (e.key === 'ArrowRight') {
        let next = currentStyle + 1;
        if (next > 6) next = 1;
        switchStyle(next);
      }
    });
    
    // 启动
    init();
  </script>
</body>
</html>
